<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'customers-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'customer_unit'); ?>
		<?php echo $form->textField($model,'customer_unit',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'customer_unit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customer_info'); ?>
		<?php echo $form->textField($model,'customer_info',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'customer_info'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customer_billing_add'); ?>
		<?php echo $form->textField($model,'customer_billing_add',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'customer_billing_add'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customer_source'); ?>
		<?php echo $form->textField($model,'customer_source',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'customer_source'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customer_status'); ?>
		<?php echo $form->dropDownList($model,'customer_status', $model->getCustomerStatus()); ?>
		<?php echo $form->error($model,'customer_status'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '创建' : '保存'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->